package cn.codingjc.peekaboo.application.core.pipeline;

import cn.codingjc.peekaboo.domain.domain.sys.vo.ResultVO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 处理上下文
 * @date: 2023/5/4
 * @author: Codingjc
 * @className: ProcessContext
 **/

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ProcessContext {

    /**
     * 执行code
     */
    private String code;

    /**
     * 执行参数
     */
    private ProcessParam processParam;

    /**
     * 是否中断
     */
    private Boolean needBreak;

    /**
     * 结果
     */
    private ResultVO result;
}
